﻿using Kingdee.BOS.Core.CommonFilter.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Util;
using System.ComponentModel;

namespace PMAF.K3CLoud.SCM.Filter.BusinessPlugIn
{
    [HotUpdate]
    [Description("采购员业绩报表过滤")]
    public class PurchaserAchievementFilter : AbstractCommonFilterPlugIn
    {
        public override void DataChanged(DataChangedEventArgs e)
        {
            base.DataChanged(e);
            if (e.Field.Key == "F_PMAF_StartMaterialId")
            {
                View.Model.SetValue("F_PMAF_EndMaterialId", e.NewValue);
            }
        }
    }
}
